﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Map.ywxt.ProjectOpening
{
    using NHibernate;
    using NHibernate.Mapping.ByCode;
    using NHibernate.Mapping.ByCode.Conformist;

    using DB_NH.DB_Model.ywxt.ProjectOpening;

    public class ProjectOpenRow_Templete_Map : EntityMapping<ProjectOpenRow_Templete>
    {
        public ProjectOpenRow_Templete_Map()
        {
            Property(x => x.DefaultValue, map =>
            {
                map.Length(40);
            });

            Property(x => x.isMY, map =>
            {
            });

            Property(x => x.isRMB, map =>
            {
            });

            Property(x => x.WidthRate, map =>
            {
            });

            Property(x => x.OrderFlag, map =>
            {
            });

            Property(x => x.Title, map =>
            {
                map.Length(200);
            });

            Property(x => x.ValueRate, map =>
            {
            });
        }
    }
}
